package com.bootdo.finance.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.finance.dao.PaymentformDao;
import com.bootdo.finance.domain.PaymentformDO;
import com.bootdo.finance.service.PaymentformService;



@Service
public class PaymentformServiceImpl implements PaymentformService {
	@Autowired
	private PaymentformDao paymentformDao;
	
	@Override
	public PaymentformDO get(Integer id){
		return paymentformDao.get(id);
	}
	
	@Override
	public List<PaymentformDO> list(Map<String, Object> map){
		return paymentformDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return paymentformDao.count(map);
	}
	
	@Override
	public int save(PaymentformDO paymentform){
		return paymentformDao.save(paymentform);
	}
	
	@Override
	public int update(PaymentformDO paymentform){
		return paymentformDao.update(paymentform);
	}
	
	@Override
	public int remove(Integer id){
		return paymentformDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return paymentformDao.batchRemove(ids);
	}
	
}
